package cn.com.surker.enums.system;

import cn.com.surker.enums.IDescription;

/**
 * @Author lucky
 * @create 2022年06月27 17:19
 * @desc
 */
public enum DataBaseEnum implements IDescription {

    MYSQL(0,"mysql数据库"), SQLSERVER(1,"sqlserver数据库"), ORACLE(2,"oracle数据库");

    private final String description;

    private final Integer code;

    DataBaseEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    @Override
    public String getDescription() {
        return description;
    }

    public Integer getCode() {return code;}
}
